$(document).keyup(function(a) {
    if (a.keyCode == 8) { backspace(); }
    if (a.keyCode == 9) { tab(); }
    if (a.keyCode == 13) { enter(); }
    if (a.keyCode == 16) { shift(); }
    if (a.keyCode == 17) { ctrl(); }
    if (a.keyCode == 18) { alt(); }
    if (a.keyCode == 19) { pause_break(); }
    if (a.keyCode == 20) { caps_lock(); }
    if (a.keyCode == 27) { esc(); }
    if (a.keyCode == 33) { pge_up(); }
    if (a.keyCode == 34) { pge_down(); }
    if (a.keyCode == 35) { end(); }
    if (a.keyCode == 36) { home(); }
    if (a.keyCode == 37) { left_arrow(); }
    if (a.keyCode == 38) { up_arrow(); }
    if (a.keyCode == 39) { right_arrow(); }
    if (a.keyCode == 40) { down_arrow(); }
    if (a.keyCode == 45) { insert(); }
    if (a.keyCode == 46) { remove(); }
    if (a.keyCode == 48) { zero(); }
    if (a.keyCode == 49) { one(); }
    if (a.keyCode == 50) { two(); }
    if (a.keyCode == 51) { three(); }
    if (a.keyCode == 52) { four(); }
    if (a.keyCode == 53) { five(); }
    if (a.keyCode == 54) { six(); }
    if (a.keyCode == 55) { seven(); }
    if (a.keyCode == 56) { eight(); }
    if (a.keyCode == 57) { nine(); }
    if (a.keyCode == 65) { a(); }
    if (a.keyCode == 66) { b(); }
    if (a.keyCode == 67) { c(); }
    if (a.keyCode == 68) { d(); }
    if (a.keyCode == 69) { e(); }
    if (a.keyCode == 70) { f(); }
    if (a.keyCode == 71) { g(); }
    if (a.keyCode == 72) { h(); }
    if (a.keyCode == 73) { i(); }
    if (a.keyCode == 74) { j(); }
    if (a.keyCode == 75) { k(); }
    if (a.keyCode == 76) { l(); }
    if (a.keyCode == 77) { m(); }
    if (a.keyCode == 78) { n(); }
    if (a.keyCode == 79) { o(); }
    if (a.keyCode == 80) { p(); }
    if (a.keyCode == 81) { q(); }
    if (a.keyCode == 82) { r(); }
    if (a.keyCode == 83) { s(); }
    if (a.keyCode == 84) { t(); }
    if (a.keyCode == 85) { u(); }
    if (a.keyCode == 86) { v(); }
    if (a.keyCode == 87) { w(); }
    if (a.keyCode == 88) { x(); }
    if (a.keyCode == 89) { y(); }
    if (a.keyCode == 90) { z(); }
    if (a.keyCode == 91) { left_window_key(); }
    if (a.keyCode == 92) { right_window_key(); }
    if (a.keyCode == 93) { select_key(); }
    if (a.keyCode == 96) { nmb_0(); }
    if (a.keyCode == 97) { nmb_1(); }
    if (a.keyCode == 98) { nmb_2(); }
    if (a.keyCode == 99) { nmb_3(); }
    if (a.keyCode == 100) { nmb_4(); }
    if (a.keyCode == 101) { nmb_5(); }
    if (a.keyCode == 102) { nmb_6(); }
    if (a.keyCode == 103) { nmb_7(); }
    if (a.keyCode == 104) { nmb_8(); }
    if (a.keyCode == 105) { nmb_9(); }
    if (a.keyCode == 106) { multiply(); }
    if (a.keyCode == 107) { add(); }
    if (a.keyCode == 109) { subtract(); }
    if (a.keyCode == 110) { decimal_pnt(); }
    if (a.keyCode == 111) { divide(); }
    if (a.keyCode == 112) { f1(); }
    if (a.keyCode == 113) { f2(); }
    if (a.keyCode == 114) { f3(); }
    if (a.keyCode == 115) { f4(); }
    if (a.keyCode == 116) { f5(); }
    if (a.keyCode == 117) { f6(); }
    if (a.keyCode == 119) { f8(); }
    if (a.keyCode == 120) { f9(); }
    if (a.keyCode == 121) { f10(); }
    if (a.keyCode == 122) { f11(); }
    if (a.keyCode == 123) { f12(); }
    if (a.keyCode == 144) { nmb_lock(); }
    if (a.keyCode == 145) { scroll_lock(); }
    if (a.keyCode == 186) { semi_colon(); }
    if (a.keyCode == 187) { equal(); }
    if (a.keyCode == 188) { comma(); }
    if (a.keyCode == 189) { dash(); }
    if (a.keyCode == 190) { period(); }
    if (a.keyCode == 191) { forward_slash(); }
    if (a.keyCode == 192) { grave_accent(); }
    if (a.keyCode == 219) { open_braket(); }
    if (a.keyCode == 220) { back_slash(); }
    if (a.keyCode == 221) { close_braket(); }
    if (a.keyCode == 222) { single_quote(); }

});
